﻿using CRM.Admin.Contracts.Dto.Customer;
using CRM.Admin.Contracts.Model.Customer;
using CRM.Admin.Contracts.Model.Map;
using KingsSharp.Common.Data;
using KingsSharp.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CRM.Admin.Contracts.Contract.Customer
{
    public  interface ISupplyService: IDependency
    {
        /// <summary>
        /// 新增
        /// </summary>
        /// <param name="dtos"></param>
        /// <returns></returns>
        OperationResult Insert(params SupplyDto[] dtos);
        /// <summary>
        /// 供给情况明细集合
        /// </summary>
        IQueryable<SupplyInfo> Supplys { get; }
    }
}
